let pathname =location.pathname
$("#footer ul li a[href='."+pathname+"']").addClass("active")